{extend name="layout" /}
{block name="css"}
<style>
	html,body,.mui-content{
		height: 100%;
		background-color: #FFF;
	}
</style>
{/block}
{block name="content"}
<div class="mui-content">
	<div class="main-content-max uk-margin-xmedium-top">
		<form id="formid" method="post">
		<div class="tm-input-cell tm-flex-row">
			<div class="tm-flex flex-align-center">
				<div class="tm-flex-1">
					<input type="password" class="input-1" placeholder="输入旧密码" name="oldpassword" />
				</div>
			</div>
		</div>
		<div class="tm-input-cell tm-flex-row">
			<div class="tm-flex flex-align-center">
				<div class="tm-flex-1">
					<input type="password" class="input-1" placeholder="输入新密码6-20位，包含数字和字母" name="password" />
				</div>
			</div>
		</div>
		<div class="tm-input-cell tm-flex-row-lg">
			<div class="tm-flex flex-align-center">
				<div class="tm-flex-1">
					<input type="password" class="uk-text-center" placeholder="请再次输入密码" name="repassword" />
				</div>
			</div>
		</div>
		</form>
		<div class="complete-btn uk-margin-xlarge-top">
			<button type="button" class="mui-btn mui-btn-green mui-btn-block cocoPostFormAjax" ajaxurl="{:url('v2/adminuser/editpwd')}" formid="formid" ajax-callback="suc_back">完成</button>
		</div>
	</div>
</div>
{/block}
{block name="script"}
<!-- <script type="text/javascript" src="{$statics}js/jquery.countdown.js?v=1"></script> -->
<script type="text/javascript">
	function suc_back (obj, data) {
		coco_msg('修改成功');
		setTimeout(function() {
			coco_close_window();
		}, 500);
	}
</script>
{/block}